package com.itheima.service;


import com.itheima.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DeptService {
    void delete(Integer id) throws Exception;
    void insert(Dept dept);
    List<Dept> select();

    void update(Integer id,String name);

    Dept selectById(Integer id);
}
